package com.hxzy.mapper;

import com.hxzy.entity.DictType;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * DictTypeMapper继承基类
 */
@Mapper
@Repository
public interface DictTypeMapper extends MyBatisBaseDao<DictType, Long> {
    List<DictType> selectCondition(DictType dictType);

    int existsName(@Param("id") Long dictId,@Param("name") String dictName);
}